from php4dvd.pages.page import Page

class MoviesResultsPage(Page):

    @property
    def add_movie_link(self):
        return self.driver.find_element_by_link_text("Add movie")

    @property
    def movies_list(self):
        return self.driver.find_elements_by_class_name("title")

    @property
    def search_field(self):
        return self.driver.find_element_by_id("q")